package multitester.myapp;

/**
 * @author Yuriy Sechko
 */
public class JimmyStub implements IStub
{
	private String words;

	public void setWords(final String word)
	{
		this.words = word;
	}

	public String say(final String whatToSay)
	{
		if (whatToSay == null)
		{
			return "NULL";
		}
		if (words == null)
		{
			return "NULL";
		}
		return whatToSay + words;
	}

	public void doSecondJob()
	{

	}

    @Override
    public void close() {

    }
}
